<?php

/**
 * @author honestphan
 * @copyright 2012
 */

defined('DSVH') or die('Restricted access');

function listXa($parent_id){
    $parent = mysql_query("select * from dia_phuong where parent_id ='".(int)$parent_id."' order by ten_dia_phuong", dbconnect());
    $result = array();
    while ($local = mysql_fetch_array($parent)){
      $result[] = $local;
    }
    return $result;
}

?>